package com.slz.note;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import com.entity.note.Info;
import com.web.note.HttpTookit;
import com.web.note.Post_jsp;

public class NoteInfo {

	private Map<String, String> params = new HashMap<String, String>();
	public String getNoteInfo(){
		

		String path = "http://1.wwjhweb.duapp.com/jsp/query.jsp?type=1";
		System.out.print(path);
		Post_jsp pj = new Post_jsp();
		String result = null;
		
		try {
			result = pj.connServerForResult(path);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		if(result==null){
			return "没有连接到数据库";
		}
		return result;
		
	}
	
}
